@file:Suppress("FunctionName")

package com.zxy.supplier_system.server.repository

import com.zxy.supplier_system.server.entity.MarketAccount
import org.springframework.data.jpa.repository.JpaRepository


interface MarketAccountRepository :JpaRepository<MarketAccount,Int>{
    fun findAllByMarket_Id(marketId: Int): List<MarketAccount>

    fun deleteByMarket_IdAndId(market_id: Int, id: Int)

}
